////////////////////////////////////////////////
// File: Market.java
// Description: Enter summary here after generation.
// Date: 2016-09-23 09:09:33
// Web: http://www.elanzhou.com/
////////////////////////////////////////////////
package com.mvc.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.text.SimpleDateFormat;
/**
 * market entity. @author 马威
 */
@Entity
@Table(name = "market")
public class Market implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	@Id
	@Basic(optional = false)
	@GeneratedValue(strategy = GenerationType.IDENTITY)   
    @Column(name = "ID", nullable = false)
	private Integer ID;
    //品类
    @Column(name = "fname")
	private  String Fname;
    //品种
    @Column(name = "catename")
	private  String Catename;
    //规格
    @Column(name = "spec")
	private  String Spec;
    //产地
    @Column(name = "address")
	private  String Address;
    //日期
    @Column(name = "marketdate")
	private  String Marketdate;
    //市场价
    @Column(name = "marketprice")
	private  String Marketprice;
    //产地价
    @Column(name = "originprice")
	private  String Originprice;
    //批零价
    @Column(name = "retailprice")
	private  String Retailprice;
    public int getId() {
       return this.ID;
	   }
	public void setId(int ID) {
	   this.ID = ID;
       }
    public String getFname() {
       return this.Fname;
	   }
	public void setFname(String Fname) {
	   this.Fname = Fname;
	   }
    public String getCatename() {
       return this.Catename;
	   }
	public void setCatename(String Catename) {
	   this.Catename = Catename;
	   }
    public String getSpec() {
       return this.Spec;
	   }
	public void setSpec(String Spec) {
	   this.Spec = Spec;
	   }
    public String getAddress() {
       return this.Address;
	   }
	public void setAddress(String Address) {
	   this.Address = Address;
	   }
    public String getMarketdate() {
       return this.Marketdate;
	   }
	public void setMarketdate(String Marketdate) {
	   this.Marketdate = Marketdate;
	   }
    public String getMarketprice() {
       return this.Marketprice;
	   }
	public void setMarketprice(String Marketprice) {
	   this.Marketprice = Marketprice;
	   }
    public String getOriginprice() {
       return this.Originprice;
	   }
	public void setOriginprice(String Originprice) {
	   this.Originprice = Originprice;
	   }
    public String getRetailprice() {
       return this.Retailprice;
	   }
	public void setRetailprice(String Retailprice) {
	   this.Retailprice = Retailprice;
	   }

}